package com.njworkorder.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class MenuLevelVo {

    private String id;

    @Schema(description = "父级id")
    private String parentId;

    @Schema(description = "菜单名称")
    private String title;

    @Schema(description = "文字大小")
    private Double fontSize;

    @Schema(description = "文字颜色")
    private String fontColor;

    @Schema(description = "跳转链接")
    private String jumpPath;

    @Schema(description = "图标路径")
    private String icon;

    @Schema(description = "是否是按钮")
    private String isButton;

    @Schema(description = "菜单英文名称")
    private String englishName;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "打开方式", example = "1、框架内打开 2、覆盖当前页 3、打开新标签页")
    private Integer openType;

    @Schema(description = "是否选中")
    private boolean selected;

    @Schema(description = "子集")
    private List<MenuLevelVo> subset;
}
